package com.ruibang.glass.produce.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.produce.domain.req.CommonTrendChartReq;
import com.ruibang.glass.produce.domain.req.GlassFluorescenceReq;
import com.ruibang.glass.produce.domain.req.MainIngredientsRecordReq;
import com.ruibang.glass.produce.domain.resp.MainIngredientsRecordTrendChart;
import com.ruibang.glass.produce.entity.MainIngredientsRecord;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
import java.util.List;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-03-11  14:26
 * @Description: TODO
 * @Version: 1.0
 */


public interface MainIngredientsRecordService extends IService<MainIngredientsRecord> {


    IPage<MainIngredientsRecord> pageQuery(MainIngredientsRecordReq mainIngredientsRecordReq);

    void deleteById(String id);

    MainIngredientsRecordTrendChart trendChart(GlassFluorescenceReq glassFluorescenceReq);

    void export(MainIngredientsRecordReq mainIngredientsRecordReq, HttpServletResponse response);

    List<MainIngredientsRecord> getIngredientInfoByDate(LocalDate date);
}
